//
//  Person.h
//  粉盒
//
//  Created by 王右 on 2018/9/11.
//  Copyright © 2018年 王右. All rights reserved.
//

#import <Foundation/Foundation.h>


/*
 *  后台数据结构
 *              code:200,
 *              message: 操作成功,
 *              data : ({
 *                        name : @"123",
 *                        age : 15,
 *                        schoolClass:{
 *                                      id:"1",
 *                                      address : "asdada",
 *                                     }
 *                        },{
 *                        name : @"123",
 *                        age : 15,
 *                        schoolClass:{
 *                                      id:"1",
 *                                      address : "asdada",
 *                                     }
 *                        })
 */


@interface SchoolClass : NSObject
/*
 *  班级
 */
@property(nonatomic, strong) NSString *classID;

/*
 *  地址
 */
@property(nonatomic, strong) NSString *address;

@end


@interface Person : NSObject

/*
 *  姓名
 */
@property(nonatomic, strong) NSString *name;

/*
 *  年龄
 */
@property(nonatomic, strong) NSString *age;

/*
 *  归属的学校年级
 */
@property(nonatomic, strong) SchoolClass *schoolClass;//此处看下.m文件

@end
